.container {
    padding: 20px;
    max-width: 800px;
    margin: 0 auto;
}

.uploadSection {
    margin-bottom: 20px;
}

.fileInput {
    width: 100%;
    padding: 10px;
    border: 2px dashed #ccc;
    border-radius: 4px;
}

.cropSection {
    margin: 20px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    background: #f5f5f5;
    padding: 20px;
    border-radius: 8px;
}

.cropSection h3 {
    margin: 0;
    color: #333;
}

.cropButton {
    padding: 8px 16px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.cropButton:hover {
    background: #0056b3;
}

.cropButton:disabled {
    background: #cccccc;
    cursor: not-allowed;
}

.previewSection {
    margin: 20px 0;
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
    text-align: center;
}

.cssCode {
    margin-top: 20px;
    position: relative;
    background: #f8f8f8;
    padding: 20px;
    border-radius: 6px;
}

.cssCode pre {
    margin: 0;
    white-space: pre-wrap;
    word-break: break-all;
}

.copyButton {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 6px 12px;
    background: #007bff;
    color: white;
    border: none;
    border-radius: 4px;
    cursor: pointer;
}

.copyButton:hover {
    background: #0056b3;
}

.designSection {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 20px;
    margin: 20px 0;
}

.originalImage {
    padding: 20px;
    background: #f5f5f5;
    border-radius: 8px;
}

.originalImage img {
    max-width: 100%;
    height: auto;
}

.adjustPreview {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.previewWrapper {
    position: relative;
    padding: 20px;
    display: inline-block;
}

.backgroundImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.3;
    object-fit: contain;
}

.radiusControls {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 10px;
}

.radiusControls > div {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.radiusControls input[type="range"] {
    width: 100%;
}

.radiusControls span {
    font-size: 12px;
    color: #666;
}